home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Schemas / HTML3.2.dtd < prev    next >
Encoding:
Text File  |  2004-10-22  |  22.0 KB  |  638 lines

  1. <!--
  2.    Copyright ⌐ 1998-2000 World Wide Web Consortium,
  3.    (Massachusetts Institute of Technology,
  4.    Institut National de Recherche en Informatique et en Automatique, Keio University).
  5.    All Rights Reserved.
  6.  
  7.    W3C Document notice and license:
  8.    http://www.w3.org/Consortium/Legal/copyright-documents-19990405
  9.    http://www.w3.org/Consortium/Legal/
  10.  
  11.         W3C Document Type Definition for the HyperText Markup Language
  12.         This version is code named Wilbur, and also as "HTML 3.2".
  13.  
  14.         Draft: Tuesday 13-Aug-96
  15.  
  16.         Author: Dave Raggett <dsr@w3.org>
  17.  
  18.         This is subject to change, pending final approval by the W3C
  19.         member companies. Changes are limited to bug fixes at this time.
  20.  
  21.         HTML 3.2 aims to capture recommended practice as of early '96
  22.         and as such to be used as a replacement for HTML 2.0 (RFC 1866).
  23.         Widely deployed rendering attributes are included where they
  24.         have been shown to be interoperable. SCRIPT and STYLE are
  25.         included to smooth the introduction of client-side scripts
  26.         and style sheets. Browsers must avoid showing the contents
  27.         of these element Otherwise support for them is not required.
  28.         ID, CLASS and STYLE attributes are not included in this version
  29.         of HTML.
  30.  
  31.         The next version of HTML after Wilbur is code named Cougar and
  32.         will add support for <OBJECT>, client-side scripting, style
  33.         sheets, and extensions to fill-out forms.
  34. -->
  35.  
  36. <!ENTITY % HTML.Version
  37.         "-//W3C//DTD HTML 3.2 Draft//EN"
  38.  
  39.         -- Typical usage:
  40.  
  41.             <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN">
  42.             <html>
  43.             ...
  44.             </html>
  45.         --
  46.         >
  47.  
  48. <!--================== Deprecated Features Switch =========================-->
  49.  
  50. <!ENTITY % HTML.Deprecated "INCLUDE">
  51.  
  52. <!--================== Imported Names =====================================-->
  53.  
  54. <!ENTITY % Content-Type "CDATA"
  55.         -- meaning a MIME content type, as per RFC1521
  56.         -->
  57.  
  58. <!ENTITY % HTTP-Method "GET | POST"
  59.         -- as per HTTP specification
  60.         -->
  61.  
  62. <!ENTITY % URL "CDATA"
  63.         -- The term URL means a CDATA attribute
  64.            whose value is a Uniform Resource Locator,
  65.            See RFC1808 (June 95) and RFC1738 (Dec 94).
  66.         -->
  67.  
  68. <!-- Parameter Entities -->
  69.  
  70. <!ENTITY % head.misc "SCRIPT|STYLE|META|LINK" -- repeatable head elements -->
  71.  
  72. <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
  73.  
  74. <!ENTITY % list "UL | OL |  DIR | MENU">
  75.  
  76. <![ %HTML.Deprecated [
  77.     <!ENTITY % preformatted "PRE | XMP | LISTING">
  78. ]]>
  79.  
  80. <!ENTITY % preformatted "PRE">
  81.  
  82. <!--================ Character mnemonic entities ==========================-->
  83.  
  84. <!ENTITY % ISOlat1 PUBLIC
  85.        "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
  86. %ISOlat1;
  87.  
  88. <!--================ Entities for special symbols =========================-->
  89. <!-- &trade ­ and &cbsp are not widely deployed and so not included here -->
  90.  
  91. <!ENTITY copy   CDATA "©"   -- copyright sign     -->
  92. <!ENTITY reg    CDATA "®"   -- registered sign    -->
  93. <!ENTITY amp    CDATA "&"   -- ampersand          -->
  94. <!ENTITY gt     CDATA ">"   -- greater than       -->
  95. <!ENTITY lt     CDATA "<"   -- less than          -->
  96. <!ENTITY quot   CDATA """   -- double quote       -->
  97. <!ENTITY nbsp   CDATA " "  -- non breaking space -->
  98.  
  99. <!--=================== Text Markup =======================================-->
  100.  
  101. <!ENTITY % font "TT | I | B  | U | STRIKE | BIG | SMALL | SUB | SUP">
  102.  
  103. <!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE">
  104.  
  105. <!ENTITY % special "A | IMG | APPLET | FONT | BR | SCRIPT | MAP">
  106.  
  107. <!ENTITY % form "INPUT | SELECT | TEXTAREA">
  108.  
  109. <!ENTITY % text "#PCDATA | %font | %phrase | %special | %form">
  110.  
  111. <!ELEMENT (%font|%phrase) - - (%text)*>
  112.  
  113. <!-- there are also 16 widely known color names although
  114.   the resulting colors are implementation dependent:
  115.  
  116.    aqua, black, blue, fuchsia, gray, green, lime, maroon,
  117.    navy, olive, purple, red, silver, teal, white, and yellow
  118.  
  119.  These colors were originally picked as being the standard
  120.  16 colors supported with the Windows VGA palette.
  121.  -->
  122.  
  123. <!ELEMENT FONT - - (%text)*     -- local change to font -->
  124. <!ATTLIST FONT
  125.     size    CDATA   #IMPLIED    -- [+]nn e.g. size="+1", size=4 --
  126.     color   CDATA   #IMPLIED    -- #RRGGBB in hex, e.g. red: color="#FF0000" --
  127.     >
  128.  
  129. <!ELEMENT BR    - O EMPTY   -- forced line break -->
  130. <!ATTLIST BR
  131.         clear (left|all|right|none) none -- control of text flow --
  132.         >
  133.  
  134. <!--================== HTML content models ================================-->
  135. <!--
  136.     HTML has three basic content models:
  137.  
  138.         %text       character level elements and text strings
  139.         %flow       block-like elements e.g. paragraphs and lists
  140.         %bodytext   as (b) plus headers and ADDRESS
  141. -->
  142.  
  143. <!ENTITY % block
  144.      "P | %list | %preformatted | DL | DIV | CENTER |
  145.       BLOCKQUOTE | FORM | ISINDEX | HR | TABLE">
  146.  
  147. <!-- %flow is used for DD and LI -->
  148.  
  149. <!ENTITY % flow "(%text | %block)*">
  150.  
  151. <!--=================== Document Body =====================================-->
  152.  
  153. <!ENTITY % body.content "(%heading | %text | %block | ADDRESS)*">
  154.  
  155. <!ENTITY % color "CDATA" -- a color specification: #HHHHHH @@ details? -->
  156.  
  157. <!ENTITY % body-color-attrs "
  158.         bgcolor %color #IMPLIED
  159.         text %color #IMPLIED
  160.         link %color #IMPLIED
  161.         vlink %color #IMPLIED
  162.         alink %color #IMPLIED
  163.         ">
  164.  
  165. <!ELEMENT BODY O O  %body.content>
  166. <!ATTLIST BODY
  167.         background %URL #IMPLIED  -- texture tile for document background --
  168.         %body-color-attrs;  -- bgcolor, text, link, vlink, alink --
  169.         >
  170.  
  171. <!ENTITY % address.content "((%text;) | P)*">
  172.  
  173. <!ELEMENT ADDRESS - - %address.content>
  174.  
  175. <!ELEMENT DIV - - %body.content>
  176. <!ATTLIST DIV
  177.         align   (left|center|right) left -- alignment of following text --
  178.         >
  179.  
  180. <!-- CENTER is a shorthand for DIV with ALIGN=CENTER -->
  181. <!ELEMENT center - - %body.content>
  182.  
  183. <!--================== The Anchor Element =================================-->
  184.  
  185. <!ELEMENT A - - (%text)* -(A)>
  186. <!ATTLIST A
  187.         name    CDATA   #IMPLIED    -- named link end --
  188.         href    %URL    #IMPLIED    -- URL for linked resource --
  189.         rel     CDATA   #IMPLIED    -- forward link types --
  190.         rev     CDATA   #IMPLIED    -- reverse link types --
  191.         title   CDATA   #IMPLIED    -- advisory title string --
  192.         >
  193.  
  194. <!--================== Client-side image maps ============================-->
  195.  
  196. <!-- These can be placed in the same document or grouped in a
  197.      separate document although this isn't yet widely supported -->
  198.  
  199. <!ENTITY % SHAPE "(rect|circle|poly|default)">
  200. <!ENTITY % COORDS "CDATA" -- comma separated list of numbers -->
  201.  
  202. <!ELEMENT MAP - - (AREA)*>
  203. <!ATTLIST MAP
  204.     name    CDATA   #IMPLIED
  205.     >
  206.  
  207. <!ELEMENT AREA - O EMPTY>
  208. <!ATTLIST AREA
  209.     shape   %SHAPE  rect
  210.     coords  %COORDS #IMPLIED  -- always needed except for shape=default --
  211.     href    %URL    #IMPLIED  -- this region acts as hypertext link --
  212.     nohref (nohref) #IMPLIED  -- this region has no action --
  213.     alt     CDATA   #REQUIRED
  214.     >
  215.  
  216. <!--================== The LINK Element ==================================-->
  217.  
  218. <!ENTITY % Types "CDATA"
  219.         -- See Internet Draft: draft-ietf-html-relrev-00.txt
  220.            LINK has been part of HTML since the early days
  221.            although few browsers as yet take advantage of it.
  222.  
  223.            Relationship values can be used in principle:
  224.  
  225.                 a) for document specific toolbars/menus when used
  226.                    with the LINK element in document head:
  227.                 b) to link to a separate style sheet (rel=stylesheet)
  228.                 c) to make a link to a script (rel=script)
  229.                 d) by stylesheets to control how collections of
  230.                    html nodes are rendered into printed documents
  231.                 e) to make a link to a printable version of this document
  232.                    e.g. a postscript or pdf version (rel=print)
  233. -->
  234.  
  235. <!ELEMENT LINK - O EMPTY>
  236. <!ATTLIST LINK
  237.         id      ID      #IMPLIED    -- SGML ID attribute --
  238.         href    %URL    #IMPLIED    -- URL for linked resource --
  239.         rel     %Types  #IMPLIED    -- forward link types --
  240.         rev     %Types  #IMPLIED    -- reverse link types --
  241.         title   CDATA   #IMPLIED    -- advisory title string --
  242.         >
  243.  
  244. <!--=================== Images ============================================-->
  245.  
  246. <!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
  247. <!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
  248.  
  249. <!-- Suggested widths are used for negotiating image size
  250.      with the module responsible for painting the image.
  251.      align=left or right cause image to float to margin
  252.      and for subsequent text to wrap around image -->
  253.  
  254. <!ENTITY % IAlign "(top|middle|bottom|left|right)">
  255.  
  256. <!ELEMENT IMG    - O EMPTY --  Embedded image -->
  257. <!ATTLIST IMG
  258.         src     %URL     #REQUIRED  -- URL of image to embed --
  259.         alt     CDATA    #IMPLIED   -- for display in place of image --
  260.         align   %IAlign  #IMPLIED   -- vertical or horizontal alignment --
  261.         height  %Pixels  #IMPLIED   -- suggested height in pixels --
  262.         width   %Pixels  #IMPLIED   -- suggested width in pixels --
  263.         border  %Pixels  #IMPLIED   -- suggested link border width --
  264.         hspace  %Pixels  #IMPLIED   -- suggested horizontal gutter --
  265.         vspace  %Pixels  #IMPLIED   -- suggested vertical gutter --
  266.         usemap  %URL     #IMPLIED   -- use client-side image map --
  267.         ismap   (ismap)  #IMPLIED   -- use server image map --
  268.         >
  269.  
  270. <!-- USEMAP points to a MAP element which may be in this document
  271.   or an external document, although the latter is not widely supported -->
  272.  
  273. <!--=================== Java APPLET tag ===================================-->
  274. <!--
  275.   This tag is supported by all java enabled browsers. Applet resources
  276.   (including their classes) are normally loaded relative to the document
  277.   URL (or <BASE> element if it is defined). The CODEBASE attribute is used
  278.   to change this default behavior. If the CODEBASE attribute is defined then
  279.   it specifies a different location to find applet resources. The value
  280.   can be an absolute URL or a relative URL. The absolute URL is used as is
  281.   without modification and is not effected by the documents <BASE> element.
  282.   When the codebase attribute is relative, then it is relative to the
  283.   document URL (or <BASE> tag if defined). <TEXTFLOW> avoids the problems
  284.   with SGML mixed content. It can always be omitted *except* when the APPLET
  285.   element hasn't any content. White space, comments and PARAM elements
  286.   don't count as content for this purpose. TEXTFLOW was introduced into
  287.   the DTD to satisfy SGML parsers, but is ignored by current Web browsers.
  288. -->
  289. <!ELEMENT APPLET - - (PARAM*, TEXTFLOW)>
  290. <!ATTLIST APPLET
  291.         codebase %URL     #IMPLIED   -- code base --
  292.         code     CDATA    #REQUIRED  -- class file --
  293.         name     CDATA    #IMPLIED   -- applet name --
  294.         alt      CDATA    #IMPLIED   -- for display in place of applet --
  295.         align    %IAlign  #IMPLIED   -- vertical or horizontal alignment --
  296.         height   %Pixels  #REQUIRED  -- suggested height in pixels --
  297.         width    %Pixels  #REQUIRED  -- suggested width in pixels --
  298.         hspace   %Pixels  #IMPLIED   -- suggested horizontal gutter --
  299.         vspace   %Pixels  #IMPLIED   -- suggested vertical gutter --
  300.         >
  301.  
  302. <!ELEMENT PARAM - O EMPTY>
  303. <!ATTLIST PARAM
  304.         name    NAME      #REQUIRED  -- The name of the parameter --
  305.         value   CDATA     #IMPLIED   -- The value of the parameter --
  306.         >
  307. <!ELEMENT TEXTFLOW O O (%text)* -- needed to bypass mixed content model -->
  308.  
  309. <!--
  310. Here is an example:
  311.  
  312.     <applet codebase="applets/NervousText"
  313.         code=NervousText.class
  314.         width=300
  315.         height=50>
  316.     <param name=text value="Java is Cool!">
  317.     <img src=sorry.gif alt="This looks better with Java support">
  318.     </applet>
  319. -->
  320.  
  321. <!--=================== Horizontal Rule ===================================-->
  322.  
  323. <!ELEMENT HR    - O EMPTY>
  324. <!ATTLIST HR
  325.         align (left|right|center) #IMPLIED
  326.         noshade (noshade) #IMPLIED
  327.         size  %Pixels #IMPLIED
  328.         width %Length #IMPLIED
  329.         >
  330. <!--=================== Paragraphs=========================================-->
  331.  
  332. <!ELEMENT P     - O (%text)*>
  333. <!ATTLIST P
  334.         align  (left|center|right) #IMPLIED
  335.         >
  336.  
  337. <!--=================== Headings ==========================================-->
  338.  
  339. <!--
  340.   There are six levels of headers from H1 (the most important)
  341.   to H6 (the least important).
  342. -->
  343.  
  344. <!ELEMENT ( %heading )  - -  (%text;)*>
  345. <!ATTLIST ( %heading )
  346.         align  (left|center|right) #IMPLIED
  347.         >
  348.  
  349. <!--=================== Preformatted Text =================================-->
  350.  
  351. <!-- excludes images and changes in font size -->
  352.  
  353. <!ENTITY % pre.exclusion "IMG|BIG|SMALL|SUB|SUP|FONT">
  354.  
  355. <!ELEMENT PRE - - (%text)* -(%pre.exclusion)>
  356. <!ATTLIST PRE
  357.         width NUMBER #implied -- is this widely supported? --
  358.         >
  359.  
  360. <![ %HTML.Deprecated [
  361.  
  362. <!ENTITY % literal "CDATA"
  363.         -- historical, non-conforming parsing mode where
  364.            the only markup signal is the end tag
  365.            in full
  366.         -->
  367.  
  368. <!ELEMENT (XMP|LISTING) - -  %literal>
  369. <!ELEMENT PLAINTEXT - O %literal>
  370.  
  371. ]]>
  372.  
  373. <!--=================== Block-like Quotes =================================-->
  374.  
  375. <!ELEMENT BLOCKQUOTE - - %body.content>
  376.  
  377. <!--=================== Lists =============================================-->
  378.  
  379. <!--
  380.     HTML 3.2 allows you to control the sequence number for ordered lists.
  381.     You can set the sequence number with the START and VALUE attributes.
  382.     The TYPE attribute may be used to specify the rendering of ordered
  383.     and unordered lists.
  384. -->
  385.  
  386. <!-- definition lists - DT for term, DD for its definition -->
  387.  
  388. <!ELEMENT DL    - -  (DT|DD)*>
  389. <!ATTLIST DL
  390.         compact (compact) #IMPLIED -- more compact style --
  391.         >
  392.  
  393. <!ELEMENT DT - O  (%text)*>
  394. <!ELEMENT DD - O  %flow;>
  395.  
  396. <!-- Ordered lists OL, and unordered lists UL -->
  397. <!ELEMENT (OL|UL) - -  (LI)*>
  398.  
  399. <!--
  400.        Numbering style
  401.     1   arablic numbers     1, 2, 3, ...
  402.     a   lower alpha         a, b, c, ...
  403.     A   upper alpha         A, B, C, ...
  404.     i   lower roman         i, ii, iii, ...
  405.     I   upper roman         I, II, III, ...
  406.  
  407.     The style is applied to the sequence number which by default
  408.     is reset to 1 for the first list item in an ordered list.
  409.  
  410.     This can't be expressed directly in SGML due to case folding.
  411. -->
  412.  
  413. <!ENTITY % OLStyle "CDATA" -- constrained to: [1|a|A|i|I] -->
  414.  
  415. <!ATTLIST OL -- ordered lists --
  416.         type      %OLStyle   #IMPLIED   -- numbering style --
  417.         start     NUMBER     #IMPLIED   -- starting sequence number --
  418.         compact  (compact)   #IMPLIED   -- reduced interitem spacing --
  419.         >
  420.  
  421. <!-- bullet styles -->
  422.  
  423. <!ENTITY % ULStyle "disc|square|circle">
  424.  
  425. <!ATTLIST UL -- unordered lists --
  426.         type    (%ULStyle)   #IMPLIED   -- bullet style --
  427.         compact (compact)    #IMPLIED   -- reduced interitem spacing --
  428.         >
  429.  
  430. <!ELEMENT (DIR|MENU) - -  (LI)* -(%block)>
  431. <!ATTLIST DIR
  432.         compact (compact) #IMPLIED
  433.         >
  434. <!ATTLIST MENU
  435.         compact (compact) #IMPLIED
  436.         >
  437.  
  438. <!-- <DIR>              Directory list                  -->
  439. <!-- <DIR COMPACT>      Compact list style              -->
  440. <!-- <MENU>             Menu list                       -->
  441. <!-- <MENU COMPACT>     Compact list style              -->
  442.  
  443. <!-- The type attribute can be used to change the bullet style
  444.      in unordered lists and the numbering style in ordered lists -->
  445.  
  446. <!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle|%OLStyle)" -->
  447.  
  448. <!ELEMENT LI - O %flow -- list item -->
  449. <!ATTLIST LI
  450.         type    %LIStyle     #IMPLIED   -- list item style --
  451.         value    NUMBER      #IMPLIED   -- reset sequence number --
  452.         >
  453.  
  454. <!--================ Forms ===============================================-->
  455.  
  456. <!ELEMENT FORM - - %body.content -(FORM)>
  457. <!ATTLIST FORM
  458.         action %URL #IMPLIED  -- server-side form handler --
  459.         method (%HTTP-Method) GET -- see HTTP specification --
  460.         enctype %Content-Type; "application/x-www-form-urlencoded"
  461.         >
  462.  
  463. <!ENTITY % InputType
  464.         "(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT
  465.             | RESET | FILE | HIDDEN | IMAGE)">
  466.  
  467. <!ELEMENT INPUT - O EMPTY>
  468. <!ATTLIST INPUT
  469.         type %InputType TEXT     -- what kind of widget is needed --
  470.         name  CDATA #IMPLIED     -- required for all but submit and reset --
  471.         value CDATA #IMPLIED     -- required for radio and checkboxes --
  472.         checked (checked) #IMPLIED -- for radio buttons and check boxes --
  473.         size CDATA  #IMPLIED     -- specific to each type of field --
  474.         maxlength NUMBER #IMPLIED
  475.         src   %URL  #IMPLIED     -- for fields with background images --
  476.         align  (top|middle|bottom|left|right) top -- image alignment --
  477.         >
  478.  
  479. <!ELEMENT SELECT - - (OPTION+)>
  480. <!ATTLIST SELECT
  481.         name CDATA #REQUIRED
  482.         size NUMBER #IMPLIED
  483.         multiple (multiple) #IMPLIED
  484.         >
  485.  
  486. <!ELEMENT OPTION - O (#PCDATA)*>
  487. <!ATTLIST OPTION
  488.         selected (selected) #IMPLIED
  489.         value  CDATA  #IMPLIED -- defaults to element content --
  490.         >
  491.  
  492. <!-- Multi-line text input field. -->
  493.  
  494. <!ELEMENT TEXTAREA - - (#PCDATA)*>
  495. <!ATTLIST TEXTAREA
  496.         name CDATA #REQUIRED
  497.         rows NUMBER #REQUIRED
  498.         cols NUMBER #REQUIRED
  499.         >
  500.  
  501. <!--======================= Tables ========================================-->
  502.  
  503. <!-- Widely deployed subset of the full table standard, see RFC 1942
  504.      e.g. at http://www.ics.uci.edu/pub/ietf/html/rfc1942.txt -->
  505.  
  506. <!-- horizontal placement of table relative to window -->
  507. <!ENTITY % Where "(left|center|right)">
  508.  
  509. <!-- horizontal alignment attributes for cell contents -->
  510. <!ENTITY % cell.halign
  511.         "align  (left|center|right) #IMPLIED"
  512.         >
  513.  
  514. <!-- vertical alignment attributes for cell contents -->
  515. <!ENTITY % cell.valign
  516.         "valign  (top|middle|bottom|baseline)  #IMPLIED"
  517.         >
  518.  
  519. <!ELEMENT table - - (caption?, tr+)>
  520. <!ELEMENT tr - O (th|td)*>
  521. <!ELEMENT (th|td) - O %body.content>
  522.  
  523. <!ATTLIST table                       -- table element --
  524.         align     %Where;   #IMPLIED  -- table position relative to window --
  525.         width     %Length   #IMPLIED  -- table width relative to window --
  526.         border    %Pixels   #IMPLIED  -- controls frame width around table --
  527.         dummy     (border)  #IMPLIED  -- fixes SGML error for border w/o value --
  528.         cellspacing %Pixels #IMPLIED  -- spacing between cells --
  529.         cellpadding %Pixels #IMPLIED  -- spacing within cells --
  530.         >
  531.  
  532. <!ELEMENT CAPTION - - (%text;)* -- table or figure caption -->
  533. <!ATTLIST CAPTION
  534.         align (top|bottom) #IMPLIED
  535.         >
  536.  
  537. <!ATTLIST tr                       -- table row --
  538.         %cell.halign;              -- horizontal alignment in cells --
  539.         %cell.valign;              -- vertical alignment in cells --
  540.         >
  541.  
  542. <!ATTLIST (th|td)                  -- header or data cell --
  543.         nowrap (nowrap)  #IMPLIED  -- suppress word wrap --
  544.         rowspan NUMBER   1         -- number of rows spanned by cell --
  545.         colspan NUMBER   1         -- number of cols spanned by cell --
  546.         %cell.halign;              -- horizontal alignment in cells --
  547.         %cell.valign;              -- vertical alignment in cells --
  548.         width   %Pixels  #IMPLIED  -- suggested cell width --
  549.         height  %Pixels  #IMPLIED  -- suggested cell height --
  550.         >
  551.  
  552. <!--================ Document Head ========================================-->
  553.  
  554. <!-- %head.misc defined earlier on as "SCRIPT|STYLE|META|LINK" -->
  555.  
  556. <!ENTITY % head.content "TITLE & ISINDEX? & BASE?">
  557.  
  558. <!ELEMENT HEAD O O  (%head.content) +(%head.misc)>
  559.  
  560. <!ELEMENT TITLE - -  (#PCDATA)* -(%head.misc)
  561.           -- The TITLE element is not considered part of the flow of text.
  562.              It should be displayed, for example as the page header or
  563.              window title.
  564.           -->
  565.  
  566. <!ELEMENT ISINDEX - O EMPTY>
  567. <!ATTLIST ISINDEX
  568.         prompt CDATA #IMPLIED -- prompt message -->
  569.  
  570. <!--
  571.     The BASE element gives an absolute URL for dereferencing relative
  572.     URLs, e.g.
  573.  
  574.          <BASE href="http://foo.com/index.html">
  575.          ...
  576.          <IMG SRC="images/bar.gif">
  577.  
  578.     The image is deferenced to
  579.  
  580.          http://foo.com/images/bar.gif
  581.  
  582.    In the absence of a BASE element the document URL should be used.
  583.    Note that this is not necessarily the same as the URL used to
  584.    request the document, as the base URL may be overridden by an HTTP
  585.    header accompanying the document.
  586. -->
  587.  
  588. <!ELEMENT BASE - O EMPTY>
  589. <!ATTLIST BASE
  590.         href %URL  #REQUIRED
  591.         >
  592.  
  593. <!ELEMENT META - O EMPTY -- Generic Metainformation -->
  594. <!ATTLIST META
  595.         http-equiv  NAME    #IMPLIED  -- HTTP response header name  --
  596.         name        NAME    #IMPLIED  -- metainformation name       --
  597.         content     CDATA   #REQUIRED -- associated information     --
  598.         >
  599.  
  600. <!-- SCRIPT/STYLE are place holders for transition to next version of HTML -->
  601.  
  602. <!ELEMENT STYLE  - - (#PCDATA)*  -(%head.misc) -- style info -->
  603. <!ELEMENT SCRIPT - - (#PCDATA)*  -(%head.misc) -- script statements -->
  604.  
  605. <!--================ Document Structure ===================================-->
  606.  
  607. <!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">
  608.  
  609. <![ %HTML.Deprecated [
  610.         <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">
  611.   ]]>
  612. <!ENTITY % html.content "HEAD, BODY">
  613.  
  614. <!ELEMENT HTML O O  (%html.content)>
  615. <!ATTLIST HTML
  616.         %version.attr;
  617.         >
  618.  
  619. <!--AttributeEditors
  620. BODY.background=uri
  621. A.href=uri
  622. AREA.href=uri
  623. LINK.href=uri
  624. IMG.src=uri
  625. IMG.usemap=uri
  626. APPLET.codebase=uri
  627. FORM.action=uri
  628. INPUT.src=uri
  629. BASE.href=uri
  630.  
  631. FONT.color=color
  632. BODY.bgcolor=color
  633. BODY.text=color
  634. BODY.link=color
  635. BODY.vlink=color
  636. BODY.alink=color
  637. -->
  638.